package com.feri.sbb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class User {
    private Integer id;
    private String nickname;
    private String phone;
    private String password;
    private Integer role;
    private Integer flag;
    private String headurl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date ctime;

}
